5dec195848b0caca6422b50ac850673ef492483e,src/net/java/sip/communicator/plugin/autoaway/AutoAwayActivator.java,AutoAwayActivator,startThread,#,76

Before Change


    static void startThread()
    {
        ConfigurationService configService = getConfigService();
        String e = (String) configService.getProperty(Preferences.ENABLE);
        if (e == null)
        {
            return;
        }
        try
        {
            boolean enabled = Boolean.parseBoolean(e);
            if (!enabled)
            {
                return;

After Change


         * that it will not get enabled later on so this method likely has to
         * also be called when the configuration property gets changed.
         */
        if (!getConfigService().getBoolean(Preferences.ENABLE, false))
            return;

        if (runner == null)